package com.shujia.flink.event;

/**
 * java,1000  0~5
 * java,8000  5~10
 */
public class MyEvent {
    String word;
    Long ts;

    public MyEvent(String word,Long ts) {
        this.ts = ts;
        this.word = word;
    }

    public Long getTs() {
        return ts;
    }

    public void setTs(Long ts) {
        this.ts = ts;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }
}